<?php
set_time_limit(0);
dl("php_sdl.dll");

if(SDL_Init(SDL_INIT_AUDIO)==-1) {
    printf("SDL_Init: %s\n", SDL_GetError());
    exit(1);
}

MIX_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 2, 2048);

$chunk = Mix_LoadWav('yahoo.ogg');
var_dump($chunk);

Mix_PlayChannel(-1, $chunk, 3);

SDL_Delay(3000);

Mix_CloseAudio();
SDL_Quit();

?>
